package com.lewis.core.base.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * Entity基类
 *
 * @author Lewis
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("Entity基类")
@Data
public class BaseEntity extends Model implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "搜索值")
    @TableField(exist = false)
    private String searchValue;

    @ApiModelProperty(value = "请求参数")
    @TableField(exist = false)
    private Map<String, Object> params;
}
